package com.sbc.user.pojo.vo;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 用户登录请求参数
 * @author: songbaicheng
 * @create: 2024-02-28 10:00
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserLoginReqVo {

    /**
     * 登陆信息
     */
    @NotBlank(message = "用户名信息不能为空！")
    private String usernameOrMailOrPhone;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空！")
    private String password;
}
